import ReactDOM from "react-dom/client";
import App from "./App.tsx";
import "./auto-update";
// antd部分
import { ConfigProvider } from "antd";
// import "dayjs/locale/zh-cn";
import zhCN from "antd/locale/zh_CN";
// 自定义theme文件
import theme from "@/config/antdTheme";
import "./index.less";
import { AliveScope } from "react-activation";

ReactDOM.createRoot(document.getElementById("root")!).render(
  <AliveScope>
    <ConfigProvider locale={zhCN} theme={theme}>
      <App />
    </ConfigProvider>
  </AliveScope>
);
